package org.cainiao.basic.lambda;

import java.util.function.Consumer;
import java.util.function.Supplier;

/**
 * <br />
 * <p>
 * Author: Cai Niao(wdhlzd@163.com)<br />
 */
public class Test {

    public static final String CONST = "const";
    public static String staticValue = "static";

    public void f(Consumer<String> c) {
        c.accept("a");
    }

    public void g(Supplier<String> c) {
        System.out.println(c.get());
    }
}
